package com.ruoyi.security.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.management.remote.JMXPrincipal;

/**
 * 灭火器台账对象 omp_af_extinguisher
 *
 * @author felix
 * @date 2022-02-28
 */
@Data
@ApiModel
public class AfExtinguisher extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    private String id;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private Long delFlag;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty(value = "编码")
    private String devCode;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String devName;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String specification;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String type;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    @ApiModelProperty(value = "生产厂家")
    private String factory;

    /** 出厂日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "出厂日期")
    private Date factoryDate;

    /** 园区 */
    @Excel(name = "园区")
    @ApiModelProperty(value = "园区")
    private String parkId;

    /** 楼栋 */
    @Excel(name = "楼栋")
    @ApiModelProperty(value = "楼栋")
    private String buildingId;

    /** 位置 */
    @Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String location;

    /** 使用年限 */
    @Excel(name = "使用年限")
    @ApiModelProperty(value = "使用年限")
    private String useYear;

    /** 状态 */
    @ApiModelProperty(value = "状态")
    private String devStatus;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String number;

    private String parkName;

    private String buildingName;

}
